package stud.mpgame.network.service.ping;

import stud.mpgame.network.MessageDescription;
import stud.mpgame.network.service.ping.PingNotificationUserObject;

/**
 * ...
 * @author Timofeev
 */

class PingNotificationMessageDescription extends MessageDescription {

    private static var ID:Int = -3;
    private static var instance:PingNotificationMessageDescription = null;
    
    private function new() {
        super();
        this.registerUserObject(1, PingNotificationUserObject);
    }

    public override function getID():Int {
        return ID;
    }

    public static function getInstance():PingNotificationMessageDescription{
        if(instance == null) {
            instance = new PingNotificationMessageDescription();
        }
        return instance;
    }
    
}